package com.huzz;

import cn.dev33.satoken.SaManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 单体应用框架
 * @author 童年的纸飞机
 * @created 2023-06-06
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class FutureApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(FutureApplication.class, args);
        System.out.println("启动成功：Sa-Token配置如下：" + SaManager.getConfig());
    }

}
